/*
 * @Author: 凌宇king
 * @Date: 2022-09-24 08:35:47
 * @LastEditTime: 2022-09-27 09:45:04
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入axios 
import axios from 'axios'
//导入echarts数据库可视化 
import * as echarts from 'echarts';
//将echarts挂载至Vue属性中，属性名$echarts 
Vue.prototype.$echarts = echarts;
//axios域名配置，即服务端API服务器域名， 
axios.defaults.baseURL = 'http://localhost:5000'
//把axios挂载至Vue全局属性中 
Vue.prototype.$http = axios

//引入element-ui 
import elementui from 'element-ui'
//引入index.css样式 
import 'element-ui/lib/theme-chalk/index.css'
//vue中注册使用element-ui
Vue.use(elementui)


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
